/**
 * 
 */
package com.gopay.common.domain.log;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 短信日志表实体
 * @LogSMSSend.java
 * @author xiefei
 * @2013-5-8 上午11:00:46  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "LOG_SMS_SEND")
public class LogSMSSend extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 2153962665733821482L;

    /**
     * 记录流水号
     */
    @Id
    @SequenceGenerator(name="LOG_SMS_SEND_SEQ", sequenceName="LOG_SMS_SEND_SEQ" )
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="LOG_SMS_SEND_SEQ")
    @Column(name="SQ")
    private int sq;
    
    /**
     * 手机号
     */
    @Column(name = "MOBILE_NUM", nullable = false, length = 11)
    private String mobileNum;
    
    /**
     * 模块ID
     */
    @Column(name = "MODULE_ID", nullable = false, length = 11)
    private String mobileID;
    
    /**
     * 备注
     */
    @Column(name = "REMARKS")
    private String remarks;
    
    /**
     * 发送时间
     */
    @Column(name = "SEND_TIME", nullable = false)
    private Date sendTime;
    
    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS", nullable = false, length = 11)
    private Date createdTs;
    
    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    private Date lastUpdTs;
    
    /**
     * 最后修改交易码
     */
     @Column(name = "LAST_UPD_TRANCODE")
    private String lastUpdTranCode;

    /**
     * @return the sq
     */
    public int getSq() {
        return sq;
    }

    /**
     * @param sq the sq to set
     */
    public void setSq(int sq) {
        this.sq = sq;
    }

    /**
     * @return the mobileNum
     */
    
    public String getMobileNum() {
        return mobileNum;
    }

    /**
     * @param mobileNum the mobileNum to set
     */
    public void setMobileNum(String mobileNum) {
        this.mobileNum = mobileNum;
    }

    /**
     * @return the mobileID
     */
    public String getMobileID() {
        return mobileID;
    }

    /**
     * @param mobileID the mobileID to set
     */
    public void setMobileID(String mobileID) {
        this.mobileID = mobileID;
    }

    /**
     * @return the remarks
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * @param remarks the remarks to set
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * @return the sendTime
     */
    public Date getSendTime() {
        return sendTime;
    }

    /**
     * @param sendTime the sendTime to set
     */
    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    /**
     * @return the createdTs
     */
    public Date getCreatedTs() {
        return createdTs;
    }

    /**
     * @param createdTs the createdTs to set
     */
    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    /**
     * @return the lastUpdTs
     */
    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    /**
     * @param lastUpdTs the lastUpdTs to set
     */
    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    /**
     * @return the lastUpdTranCode
     */
    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    /**
     * @param lastUpdTranCode the lastUpdTranCode to set
     */
    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }
    
    
    
}
